package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单退款信息
 * </p>
 *
 * @author zwl
 * @since 2019-04-22
 */
@TableName("tb_order_return")
public class TbOrderReturn1 implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 退款订单编号
	 */
	@TableId(value="return_order_id")
	private String returnOrderId;

	/**
	 * 订单编号
	 */
	@TableField(value="order_id")
	private String orderId;

	/**
	 * 申请退款时间
	 */
	@TableField(value="req_return_time")
	private Date reqReturnTime;

	/**
	 * 退款状态 0:退款中 1:退款完成 2:退款失败
	 */
	@TableField(value="return_order_status")
	private Integer returnOrderStatus;

	/**
	 * 退款理由
	 */
	@TableField(value="req_return_reason")
	private String reqReturnReason;

	/**
	 * 退款总金额
	 */
	@TableField(value="return_total_amt")
	private BigDecimal returnTotalAmt;

	/**
	 * 退款完成时间
	 */
	@TableField(value="finish_return_time")
	private Date finishReturnTime;

	/**
	 * 失败原因
	 */
	@TableField(value="reject_reason")
	private String rejectReason;

	/**
	 * 订单总金额
	 */
	@TableField(exist = false)
	private BigDecimal totalAmt;

	/**
	 *快递费用
	 */
	@TableField(exist = false)
	private BigDecimal shipFee;

	/**
	 * 支付金额
	 */
	@TableField(exist = false)
	private BigDecimal payAmt;

	/**
	 * 订单完成时间
	 * @return
	 */
	@TableField(exist = false)
	private Date finishTime;

	/**
	 * 退款/换货类型
	 * 1: 换货
	 * 2: 退款
	 */
	@TableField("return_type")
	private Integer returnType;

	/**
	 * 退回快递公司编号
	 */
	@TableField("return_ship_company_id")
	private Long returnShipCompanyId;

	/**
	 * 退回快递单号
	 */
	@TableField("return_ship_trace_no")
	private String returnShipTraceNo;

	/**
	 * 换货/退款理由类型
	 * 1: 7天/30天无理由退货
	 * 2：商品质量问题
	 * 0: 其它
	 */
	@TableField("return_reason_type")
	private Integer returnReasonType;

	/**
	 * 退款方式
	 * 1：退款退货
	 * 2：仅退款不退货
	 */
	@TableField("refund_type")
	private Integer refundType;

	/**
	 * 卖家寄回快递公司编号
	 */
	@TableField("ship_company_id")
	private Long shipCompanyId;

	/**
	 * 卖家寄回快递单号
	 */
	@TableField("ship_trace_no")
	private String shipTraceNo;

	public Date getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	public Integer getReturnType() {
		return returnType;
	}

	public void setReturnType(Integer returnType) {
		this.returnType = returnType;
	}

	public Long getReturnShipCompanyId() {
		return returnShipCompanyId;
	}

	public void setReturnShipCompanyId(Long returnShipCompanyId) {
		this.returnShipCompanyId = returnShipCompanyId;
	}

	public String getReturnShipTraceNo() {
		return returnShipTraceNo;
	}

	public void setReturnShipTraceNo(String returnShipTraceNo) {
		this.returnShipTraceNo = returnShipTraceNo;
	}

	public Integer getReturnReasonType() {
		return returnReasonType;
	}

	public void setReturnReasonType(Integer returnReasonType) {
		this.returnReasonType = returnReasonType;
	}

	public Integer getRefundType() {
		return refundType;
	}

	public void setRefundType(Integer refundType) {
		this.refundType = refundType;
	}

	public Long getShipCompanyId() {
		return shipCompanyId;
	}

	public void setShipCompanyId(Long shipCompanyId) {
		this.shipCompanyId = shipCompanyId;
	}

	public String getShipTraceNo() {
		return shipTraceNo;
	}

	public void setShipTraceNo(String shipTraceNo) {
		this.shipTraceNo = shipTraceNo;
	}

	public BigDecimal getTotalAmt() {
		return totalAmt;
	}

	public void setTotalAmt(BigDecimal totalAmt) {
		this.totalAmt = totalAmt;
	}

	public BigDecimal getShipFee() {
		return shipFee;
	}

	public void setShipFee(BigDecimal shipFee) {
		this.shipFee = shipFee;
	}

	public BigDecimal getPayAmt() {
		return payAmt;
	}

	public void setPayAmt(BigDecimal payAmt) {
		this.payAmt = payAmt;
	}

	public String getReturnOrderId() {
		return returnOrderId;
	}

	public void setReturnOrderId(String returnOrderId) {
		this.returnOrderId = returnOrderId;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Date getReqReturnTime() {
		return reqReturnTime;
	}

	public void setReqReturnTime(Date reqReturnTime) {
		this.reqReturnTime = reqReturnTime;
	}

	public Integer getReturnOrderStatus() {
		return returnOrderStatus;
	}

	public void setReturnOrderStatus(Integer returnOrderStatus) {
		this.returnOrderStatus = returnOrderStatus;
	}

	public String getReqReturnReason() {
		return reqReturnReason;
	}

	public void setReqReturnReason(String reqReturnReason) {
		this.reqReturnReason = reqReturnReason;
	}

	public BigDecimal getReturnTotalAmt() {
		return returnTotalAmt;
	}

	public void setReturnTotalAmt(BigDecimal returnTotalAmt) {
		this.returnTotalAmt = returnTotalAmt;
	}

	public Date getFinishReturnTime() {
		return finishReturnTime;
	}

	public void setFinishReturnTime(Date finishReturnTime) {
		this.finishReturnTime = finishReturnTime;
	}

	public String getRejectReason() {
		return rejectReason;
	}

	public void setRejectReason(String rejectReason) {
		this.rejectReason = rejectReason;
	}

}
